<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/sys/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看企业二维码</title>
<%@ include file="/WEB-INF/sys/include/css.jsp"%>
</head>
<body>
<form id="form" action="#" method="post">
<div class="form">
	<div class="title">企业二维码</div>
	<div class="group">
		<div class="label">企业名称:</div>
		<div class="text">${company.companyName }</div>
	</div>
	
	<div class="group" style="overflow:hidden;">
		<div class="label">二维码:</div>
		<div class="item">
			<div style="width:220px;height:245px;border:1px solid #999;" align="center">
				<div><img id="qrcodeimg" alt="${company.qrcode }" src="${path }/res/img/noimg.jpg" width="200" height="200" style="margin:0px;margin-top:5px;" /></div>
				<div style="height:25px;line-height:16px;font-size:14px;vertical-align:top;text-align:center;">追溯码：${company.qrcode }</div>
			</div>
		</div>
	</div>
	<!-- <div class="group">
		<div class="label">打印数量:</div>
		<div class="item"><input type="text" id="copyes" value="1" /></div>
	</div> -->
	<div class="buttons">
		<!-- <button class="highlight" id="submit1" type="button">打印</button> -->
		<button type="button" id="cancel1">返回</button>
	</div>
</div>
</form>
<%@ include file="/WEB-INF/sys/include/script.jsp" %>
<script type="text/javascript">
$(function() {
	$("#form").ligerForm({inputWidth: 222});
	
	$("#submit1").click(function(){
		codePrint();
	});

	$("#cancel1").click(function(){
		UiUtil.closeForm();
	});
	
	var codeText = '${qrcode_url}';
	if(""!=codeText){
		$('#qrcodeimg').attr('src', '${path}/public/qrcode.do?size=200&errorCorrect=H&text='+encodeURIComponent(codeText));
	}
});
function codePrint(){
}
</script>
</body>
</html>